package com.yunxin.core.infra.common.order.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-06-03
 */
@Getter
public enum OrderAllocationTypeEnum implements IBaseEnum<Integer> {

    /**
     * 分配类型 1.自动分配 2.规则分配 3.人工分配
     */

    ALLOCATION_AUTOMATIC(1, "自动分配"),

    ALLOCATION_RULE(2, "规则分配"),

    ALLOCATION_ARTIFICIAL(3, "人工分配"),

    ;

    private final Integer value;

    private final String label;


    OrderAllocationTypeEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
